/**
 * @filename:Closed 2023-4-20
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.FieldFill;

/**   
 * @Description:TODO(节假日实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sn_closed")
@ApiModel(value="sn_closed对象", description="节假日表")
public class Closed extends Model<Closed> {

	private static final long serialVersionUID = 1681951611965033L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "closed_time") 	
	@ApiModelProperty(name = "closed_time" , value = "休市日期")
    private Date closed_time;
    
    @TableField(value = "`explain`") 
	@ApiModelProperty(name = "explain" , value = "说明")
    private String explain;
    
    @TableField(value = "status") 	
	@ApiModelProperty(name = "status" , value = "状态")
    private Integer status;
    
	@TableField(value = "create_time",fill=FieldFill.INSERT) 
	@ApiModelProperty(name = "create_time" , value = "创建时间")
    private Date create_time;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
